package com.zzl.finance.order.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : spp
 * @date : 2022/2/22 17:25
 */
@Data
@ApidocModel
public class CheckSubmit {

    @NotNull(message = "主键 不能为空")
    @ApidocModelProperty(description = "主键")
    private Integer id;

    @ApidocModelProperty(description = "备注")
    private String remark;

    @Min(value = 0, message = "通过或者驳回 参数不正确")
    @Max(value = 1, message = "通过或者驳回 参数不正确")
    @ApidocModelProperty(description = "复核结果 0:驳回 1：通过")
    private Integer checkResult;

}
